package com.potato.network.exception;

public class ApiException extends Exception {

    public int code;
    public String displayMessage;

    public ApiException(int code,String displayMessage){
        this.code =code;
        this.displayMessage =displayMessage;
    }
    public ApiException(int code,String mssage,String displayMessage){
        super(mssage);
        this.code =code;
        this.displayMessage =displayMessage;
    }

}
